package com.tvunetworks.center.user.model.json;

import lombok.Data;
import org.apache.commons.lang.StringUtils;
/**
 * @program: tvucc-aggregator

 * @author lebronchen
 * @create: 2020-04-23 16:26
 **/
@Data
public class VoDevice {
	private String peerId;
	private String version;
	private String status;
	private String livePeerId;
	private String resultCode;
	private String resultDesc;

	private String name;
	private String ip;
	private String livePeerName;
	private String LiveRName;
	private int postion;
	private String liveUrl;
	private String platform;
	public VoDevice(){

	}

	public VoDevice(String peerId, String name, String status, String version, String ip, String livePeerId,
					String livePeerName) {
		super();
		this.peerId = peerId;
		this.name = name;
		this.status = StringUtils.isNotBlank(status) ? status : "0";
		this.version = version;
		this.ip = ip;
		this.livePeerId = livePeerId;
		this.livePeerName = livePeerName;
	}

}
